body {
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

#main{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #f8f9fa;
}

.left{
  width: 50%;
}

.right{
  width: 50%;
}

.form {
  width: 280px;
  padding: 15px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.form::before {
  content: '';
	width : 200px;
  height : 200px;
  background-image: url('../img/mstsc.svg') ;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
  margin-bottom: 15px
}
.form hr{
  width: 100%;
}
.form input{
  margin: 5px 0;
  position: relative;
  height: auto;
  padding: 10px 5px;
  font-size: 16px;
  border-radius: 5px;
}
.form button{
  width: 100%;
  position: relative;
  height: auto;
  padding: 10px 0;
  font-size: 16px;
  background-color: #007bff;
  color: #fff;
  border: 0;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease-in-out;
}



#history{ 
  width: 100%;
  height: 80vh;
  padding: 15px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  overflow-y: auto;
}

.history-item {
  position: relative;
  height: 180px;
  padding: 15px;
  font-size: 26px;
  color: #000;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.history-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../img/windows.svg');
  background-repeat: no-repeat;
  background-size: inherit;
  background-position: center;
  z-index: 1;
}
.history-item:hover {
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.history-item .delete{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: url('../img/delete.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 1;
}
.history-item .delete:hover{
  transform: scale(1.1)
}
